#include <iostream>
#include <iterator>
#include <vector>
#include <stack>

#include "combiner.h"

using namespace std;

int main(int argc, char *argv[])
{
  combiner<double> adder (istream_iterator<double>(ifstream (argv[1])),
			  istream_iterator<double>(ifstream (argv[2])),
			  plus<double>);
  //copy (adder, combiner<double>(), ostream_iterator<double>(cout)); 

  cout << *adder << endl;
}


// Local Variables:
// mode: C++
// End:
